import Route from 'react-router/lib/Route'
import {IndexRedirect} from 'react-router';

import Home from './components/Home'
import TabDemo from './components/TabDemo'
import DemoDetail from './components/DemoDetail'
import PocDetail from './components/PocDetail';
import './style/index'
const Routers = (
  <Route name="demo1" breadcrumbName="示例1" path="demofactory" component={Home}>
    <IndexRedirect to="home"/>
    <Route name="tab1" breadcrumbName="页签1" path="home" component={TabDemo}></Route>
    <Route name="demodetail" breadcrumbName="页签1" path="detail" component={DemoDetail}></Route>
    <Route name="PocDetail" breadcrumbName="页签1" path="pocdetail" component={PocDetail}></Route>
  </Route>
)

import stores from './stores/index'

module.exports = {
  Route:Routers,
  store:stores,
}
